import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './assets/css/global.css'
import axios from 'axios'
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';


Vue.prototype.$http=axios
// Vue.use(ElementUI, { size: 'small' });
axios.interceptors.request.use(config=>{
  
  config.headers.Authorization=window.sessionStorage.getItem('token')
  return config
  
})
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
